<div class="banner" data-style="border-red">
    <div class="carousel">
        <?php echo loadadv(373, function ($list) {
            $html = '';
            foreach ($list as $item) {
                $adv = unserialize($item['adv_content']);
                $html .= '<div class="item"><a href="' . $adv['adv_pic_url'] . '"><div style="height:675px;background:url(' . UPLOAD_SITE_URL . '/' . ATTACH_ADV . '/' . $adv['adv_pic'] . ') center center no-repeat;"></div></a></div>';
            }
            return $html;
        }); ?>
    </div>
</div>
<script language="javascript" src="/public/src/js/shujian.js"></script>
<div class="blank"></div>
<div id="container">
    <div id="new_product">
        <div id="new_product_left">
            <a title="新品上市" href="<?php echo urlShop('search', 'index', array('cate_id' => 1)) ?>">
                <img src="/public/src/images/new_product.png"/>
            </a>
        </div>
        <div id="new_product_right">
            <div>
                <script type="text/javascript"
                        src="<? echo urlShop('adv', 'advshow', array('ap_id' => 374)) ?>"></script>
            </div>
            <div style="height:3px; margin:5px;"><img src="/public/src/images/line.png"/></div>
            <div>
                <script type="text/javascript"
                        src="<? echo urlShop('adv', 'advshow', array('ap_id' => 375)) ?>"></script>
            </div>
        </div>
    </div>
    <div id="news_shujian">
        <div id="news_shujian_left">
            <a title="官方动态" href="<?php echo urlShop('article', 'article', array('ac_id' => 12)) ?>">
                <img src="/public/src/images/news.png"/>
            </a>
        </div>
        <div id="news_shujian_center">
            <ul>
                <?php foreach ($output['newArticleList'] as $item) { ?>
                    <a href="<? echo urlShop('article', 'show', array('article_id' => $item['article_id'])) ?>"
                       title="<? echo e($item['article_title']) ?>">
                        <li><? echo e($item['article_title']) ?></li>
                    </a>
                <? } ?>

            </ul>
        </div>
        <div id="news_shujian_right" class="f_r"><a
                href="<?php echo urlShop('article', 'article', array('ac_id' => 12)) ?>"><img
                    src="/public/src/images/ling.png"/></a></div>
    </div>
    <div id="xianchuang">
        <div id="xianchuang_top">
            <a title="宣传" href="<?php echo urlShop('article', 'article', array('ac_id' => 14)) ?>">
                <span style=" margin-left:5px;width:30px; height:130px; display:block; float:left;">&nbsp;&nbsp;</span>
            </a>

            <div id="index_video_ad">
                <!--                <script type="text/javascript" src="-->
                <? //echo urlShop('adv','advshow',array('ap_id'=>376))?><!--"></script>-->
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
                        height="112" width="215">
                    <param name="movie"
                           value="http://www.shujianhao.com/images/shiping.swf?vcastr_file=http://www.shujianhao.com/images/lme.flv&IsAutoPlay=0&IsContinue=1">
                    <param name="quality" value="high">
                    <param name="allowFullScreen" value="true"/>
                    <embed
                        src="http://www.shujianhao.com/images/shiping.swf?vcastr_file=http://www.shujianhao.com/images/lme.flv&IsAutoPlay=0&IsContinue=1"
                        quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
                        type="application/x-shockwave-flash" width="215" height="112"></embed>
                </object>
            </div>
        </div>
        <div id="xianchuang_bottom">
            <div id="index_jiameg">
                <ul>
                    <a href="<? echo urlShop('franchiser','index') ?>"
                       title="加盟店查询">
                        <li>加盟店查询+</li>
                    </a>
                    <a href="<? echo urlShop('article', 'show', array('article_id' => 23)) ?>"
                       title="加盟条款">
                        <li>加盟条款+</li>
                    </a>
                    <a href="<? echo urlShop('franchiser','apply') ?>"
                       title="我要加盟">
                        <li>我要加盟+</li>
                    </a>

                </ul>
            </div>
        </div>
    </div>
</div>
<div class="blank"></div>
<div id="zhiliang" style="margin:0 auto; width:1000px; padding:0px;">
    <img src="/public/src/images/zhiliang.jpg" style="margin-left:-10px;"/>
</div>
<div id="right_services" style="left:1000px;top:828px;">
    <a href="<?php echo urlShop('pointprod','index')?>" title="江湖积分">
        <img src="/public/src/images/jifeng.jpg"/>
    </a>
    <img src="/public/src/images/deco_1.png"/>
    <a href="<?php echo urlShop('article','shop',array('article_id'=>37))?>" title="存茶服务">
        <img src="/public/src/images/cuncha.jpg"/>
    </a>
    <img src="/public/src/images/deco_1.png"/>
    <img src="/public/src/images/huodong.jpg"/>
    <img src="/public/src/images/deco_1.png"/>
    <a href="<?php echo urlShop()?>"><img src="/public/src/images/jianyi.jpg"/></a>
</div>
<script type="text/javascript">
    jQuery(function($){
        var width = (document.body.clientWidth-1000)/2+1000;
        document.getElementById("right_services").style.left = width+'px';
    });
</script>
